<!DOCTYPE html>
Tests paint invalidation and painting of outline around an empty box.
Passes if there is a green square.
<div id="target" style="position: absolute; top: 200px; left: 200px; outline: 50px solid red"></div>
<script src="../../resources/run-after-layout-and-paint.js"></script>
<script>
runAfterLayoutAndPaint(function() {
  target.style.outlineColor = 'green';
}, true);
</script>